﻿<%@ Page Language="vb" ContentType="text/xml" AutoEventWireup="false" CodeBehind="rss.aspx.vb"
    Inherits="diy_wc_prototype.rss" %>
    <asp:repeater id="RepeaterRSS" runat="server">
        <HeaderTemplate>
           <rss version="2.0">
                <channel>
                    <title>DIY Wedding Cake</title>
                    <link>http://www.diyweddingcake.co.uk</link>
                    <description>With wedding cake prices soaring, deciding to make your own wedding cake can save you a significant amount of money.
                    </description>
        </HeaderTemplate>
        <ItemTemplate>
            <item>
                <title><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "cakeTitle"))%></title>
                <link>cakeProfile.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "ID")%></link>
                <author><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "cakeUser"))%></author>
                <pubDate><%# String.Format("{0:R}", DataBinder.Eval(Container.DataItem, "cakeDateAdded"))%></pubDate>
                <description><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "cakeDesc"))%></description>
        </item>
        </ItemTemplate>
        <FooterTemplate>
                </channel>
            </rss>
        </FooterTemplate>
</asp:repeater>